/**
 * ResourceMapperExt
 * Copyright © 2015 - 2017
 * All rights reserved.
 * -----------------------------------
 * 2018-05-17  Created
 */
package com.lzy.cloud.permission.mapper;

import com.lzy.cloud.permission.dtos.ResourceDto;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;
import javax.persistence.criteria.CriteriaBuilder;
import java.util.List;
import java.util.Map;

@Resource
public interface ResourceMapperExt extends ResourceMapper {

    List<ResourceDto> selectList(@Param("param") ResourceDto resourceDto);

    ResourceDto selectResource(@Param("param") ResourceDto resourceDto);

    List<ResourceDto> selectByIds(Map<String, Object> params);

    Integer countByIds(Map<String, Object> map);
}